from django.shortcuts import render
from rest_framework import viewsets

from schools.models import School
from schools.serializers import SchoolSerializer


# Create your views here.
class SchoolViewSet(viewsets.ModelViewSet):
    queryset = School.objects.all()
    serializer_class = SchoolSerializer